public class ThreadTest extends Thread {
    @Override
    public void run() {
        System.out.println(1);
    }

    public static void main(String[] args) {
        new ThreadTest().start();
    }
}
